|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjp.co.ricoh.dsdk.scard.option.security.AbstractSignCredential
jp.co.ricoh.dsdk.scard.option.security.DES3SignCredential
Sample credential to perform a DES-ede signing operation . This credential does not hash a message nor pad input blocks which are too small. It simply performs a single-block DES-ede encryption.
| Constructor Summary | |
DES3SignCredential(byte[] key)
Uses a 24 bytes array as the key material to generate a DES-ede key and initialize an instance . |
|
DES3SignCredential(java.security.Key des3Key)
Create an instance with a DES-ede key . |
|
| Method Summary | |
int |
getInputLength()
Return the input credential`s length that the cryptographic algorithm can process . |
byte[] |
sign(byte[] data)
Sign/encrypt a block of data . |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DES3SignCredential(byte[] key)
key - the buffer with the DES-ede key material
.public DES3SignCredential(java.security.Key des3Key)
des3Key - a DES-ede key .| Method Detail |
public int getInputLength()
SignCredential
public byte[] sign(byte[] data)
SignCredential
sign in interface SignCredentialdata - The credential to be signed
.
Its length must match the length obtained with getInputLength() method.
|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||